package com.neusoft.weekreport.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author liu.jiaming
 * @Create 2020/2/14 20:21
 */
public interface ReDayDetailMapper {

    List selectTableDetail(@Param("dayId") String dayId,@Param("list") List list);

    List selectList(@Param("dayId") String dayId,@Param("userName") String userName,@Param("stateFlag") String stateFlag);

    //只有日期条件
    List selectDayIdList(@Param("dayId") String dayId,@Param("list") List list);

    //日期和姓名条件
    List selectUserNameList(@Param("dayId") String dayId,@Param("userName") String userName);

    //日期和审核状态条件
    List selectStateFlagList(@Param("dayId") String dayId,@Param("stateFlag") String userName,@Param("list") List list);

    List updateList(@Param("row") String row);

    List remind(@Param("dayId") String dayId,@Param("list") List list);

    List deleteList(@Param("row") String row,@Param("rejectReason") String rejectReason);

    List batchAuditList(@Param("list") List list);

    List rejectMailList(@Param("row") String row);

    //部长页面自动查询
    List queryMinisterList(@Param("dayId") String dayId,@Param("list") List list);
    //部长页面手动查询
    List queryUserMinisterList(@Param("dayId") String dayId,@Param("userName") String userName);

}

